From 3fba743862e569e23f5b895c36b2f6942622e319 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 30 Nov 2005 19:48:21 +0000 Subject: [PATCH] Fix test following uuid format change in changeset 8089. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/tests/test_uuid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/tests/test_uuid.py b/tools/python/xen/xend/tests/test_uuid.py index cc78bd020c..d79ab53e4a 100644 --- a/tools/python/xen/xend/tests/test_uuid.py +++ b/tools/python/xen/xend/tests/test_uuid.py @@ -21,9 +21,9 @@ class test_uuid(unittest.TestCase): self.assertEqual(uuid.toString(inp), expected) self.assertEqual(uuid.fromString(expected), inp) - t([0 for i in range(0, 16)], "00000000-0000-0000-0000-000000000000") + t([0 for _ in range(0, 16)], "00000000-00000000-00000000-00000000") t([185, 158, 125, 206, 250, 178, 125, 57, 2, 6, 162, 74, 178, 236, - 196, 5], "b99e7dce-fab2-7d39-0206-a24ab2ecc405") + 196, 5], "b99e7dce-fab27d39-0206a24a-b2ecc405") def test_suite(): -- 2.30.2